package com.ksd.pug.vo.user.login;

import com.ksd.pug.pojo.Permission;
import com.ksd.pug.pojo.SysRole;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author hcl
 * @date 2022/1/6 16:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class   LoginUserVo implements java.io.Serializable {
    private static final long serialVersionUID = -1249058316898202441L;
    private Long userId;
    private String username;
    private String nickname;
    private String avatar;
    private String description;
    private String token;
    // 存放用户对应的角色
    private List<SysRole> roleList;
    // 存放用户对应的权限
    private List<Permission> permissionList;
}
